Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 12.6.2 #217

Merged
merged 2 commits into from
Nov 6, 2024
Merged

Patch 12.6.2 #217

merged 2 commits into from
Nov 6, 2024

Conversation

vzhurba01
Copy link
Collaborator

No description provided.

@vzhurba01 vzhurba01 self-assigned this Nov 6, 2024
Copy link

copy-pr-bot bot commented Nov 6, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@vzhurba01 vzhurba01 merged commit 930e77b into NVIDIA:main Nov 6, 2024
@vzhurba01
Copy link
Collaborator Author

Bypassing branch protection since @leofang already +1nd the internal pull request. Merging.

Comment on lines 302 to 309
setup(
version=versioneer.get_version(),
ext_modules=do_cythonize(extensions),
packages=find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "cuda.cuda.bindings._internal", "tests"]),
packages=find_packages(include=["cuda", "cuda.*", "cuda.bindings", "cuda.bindings._bindings", "cuda.bindings._lib", "cuda.bindings._lib.cyruntime", "cuda.bindings._internal"]),
package_data=dict.fromkeys(
find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "cuda.cuda.bindings._internal", "tests"]),
find_packages(include=["cuda", "cuda.*", "cuda.bindings", "cuda.bindings._bindings", "cuda.bindings._lib", "cuda.bindings._lib.cyruntime", "cuda.bindings._internal"]),
["*.pxd", "*.pyx", "*.py", "*.h", "*.cpp"],
),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vzhurba01 I guess I missed this during review -- were these changes needed as part of the hot fix?

In any case, I think this might have to do with the package_data issue that you hit in #215 (comment). I had a similar observation for cuda.core, and the solution was highlighted here: #171 (comment). I think we have two ways:

  1. Revert the changes in setup.py (given that it built fine in the previous patch release)
  2. Apply the same treatment in cuda.core here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(1) isn't quite true. While that build did work, the posted Windows packages for 11.8.4 and 12.6.1 are both missing all the wildcard files.

(2) Thanks for the pointer. I tried an iteration of something similar, but with whatever I tried I couldn't quite get it to stick. It wasn't identical to what you have there, so I'll try again as soon as I get the chance! 🙏

@leofang leofang added this to the cuda-python 12.6.2 & 11.8.5 milestone Nov 6, 2024
@leofang leofang added bug Something isn't working P0 High priority - Must do! cuda.bindings Everything related to the cuda.bindings module labels Nov 6, 2024
@leofang leofang linked an issue Nov 6, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda.bindings Everything related to the cuda.bindings module P0 High priority - Must do!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: module 'cuda.ccudart' has no attribute '__pyx_capi__'
2 participants